<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			#head {
				margin: auto;
				position: relative;
				width: 960px;
				height: 26px;
				line-height: 26px;
				font-size: 12px;
				background-color: white;
				padding: 0px;
				box-sizing: border-box;
				border: 1px solid;
				list-style: none;
			}
			#head-right {
				position: absolute;
				top: 0px;
				right: 5px;
			}
			
			#head a {
				color: black;
				text-decoration: none;
				cursor: pointer;
			}
			#head-right a{
				position: relative;
				height: 26px;
			}
			#head-right div{
				width: 80px;
				background-color:rgba(255,165,0,0.5);
				/*display: none;*/
				position: absolute;
				top: 20px;
				right: 0px;
			}
			#head-right div li{
				padding: 3px 5px;
				text-align: center;
			}
			/*#head #caidan:hover div{*/
				/*display: block;*/
			/*}*/
			#head a:hover {
				text-decoration: underline;
			}
			#head-right div li:hover{
				color: white;
				background-color: rgba(25,101,179,0.5);
			}
		</style>
		<script type="text/javascript">
			function xianshi(th){
				 var div = th.parentNode.children[1];
				 if (div.style.display == "none" ) {
				 	th.setAttribute("src","img/shopping_arrow_up.gif")
				 		div.style.display = "block" ;
				 } else{
				 	div.style.display = "none" ;
				 	th.setAttribute("src","img/shopping_arrow_down.gif")
				 }
			}
			
		</script>
	</head>
	<body>
		<div id="head">
				<span style="margin-left: 8px;">您好！欢迎光临当当网</span>
				<a class="header-aa" href="#" style=" padding = 0px ;margin-left: 2px;">[登陆</a><span>〡</span>
				<a class="header-aa" href="#" style="border-right: 0px;">免费注册]</a>
				<div id="head-right">
					<img style=" position: relative;top: 4px;" src="img/dd_header_shop.gif" />
					<a href="shopping.html">购物车</a><span>〡</span>
					<a href="#">个性化推荐</a><span>〡</span>
					<a href="#">礼品卡</a><span>〡</span>
					<a href="#">团购</a><span>〡</span>
					<a id="caidan" style="text-decoration: none;"> 我的当当 <img style=" position: relative;top: 4px; display: inline-block;" src="img/shopping_arrow_down.gif" onclick="xianshi(this)"/>
						<div style="display: none;">
						<li>我的衣服</li>
						<li>我的裤子</li>
						<li>我的裤头</li>
						<li>我的帽子</li>
						<li>我的鞋子</li>
						</div>
					</a><span>〡</span>
					<a href="#" style="border: none; padding-left:8px ;">帮助</a>
					</div>
		</div>
	</body>
</html>
